package com.gsafety.wellsfort.domain.model.course;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 描述:cls_lesson_period表的实体类
 * @version
 * @author:  zhoutanxin
 * @创建时间: 2020-05-02
 */
public class LessonPeriod {
    /**
     * 
     */
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 所属课程ID
     */
    @ApiModelProperty(value = "所属课程ID")
    private Integer courseId;

    /**
     * 课时名称
     */
    @ApiModelProperty(value = "课时名称")
    private String name;

    /**
     * 上课老师
     */
    @ApiModelProperty(value = "上课老师id")
    private Integer teacherId;

    @ApiModelProperty(value = "上课老师名称")
    private String teacherName;

    /**
     * 时长
     */
    @ApiModelProperty(value = "时长")
    private Integer duration;

    /**
     * 是否发布:1是或0否
     */
    @ApiModelProperty(value = "是否发布:1是或0否")
    private Integer publishState;

    /**
     * 上课状态:1是或0否
     */
    @ApiModelProperty(value = "上课状态:1是或0否")
    private Byte isAttendClass;



    /**
     * 上课时间
     */
    @ApiModelProperty(value = "上课时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date attendClassTime;

    /**
     * 授课状态:1是或0否
     */
    @ApiModelProperty(value = "授课状态:1是或0否")
    private Byte isTeaching;


    /**
     * 授课时间
     */
    @ApiModelProperty(value = "授课时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date teachingTime;

    /**
     * 课时简介
     */
    @ApiModelProperty(value = "课时简介")
    private String introduction;

    /**
     * 课程教材ID
     */
    @ApiModelProperty(value = "课程教材ID")
    private Integer teachingMaterialId;


    @ApiModelProperty(value = "课时学习进度")
    private String rate;

    /**
     * 课件列表IDS
     */
    @ApiModelProperty(value = "课件列表IDS")
    private String coursewareIds;

    /**
     * 教具列表IDS
     */
    @ApiModelProperty(value = "教具列表IDS")
    private String teachingAidIds;

    /**
     * 作业ID
     */
    @ApiModelProperty(value = "作业ID")
    private Integer workId;

    /**
     * 作业是否已发布
     */
    @ApiModelProperty(value = "作业是否已发布")
    private Byte isWorkPublish;

    /**
     * 试卷ID
     */
    @ApiModelProperty(value = "试卷ID")
    private Integer examId;

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    /**
     * 试卷是否已发布
     */
    @ApiModelProperty(value = "试卷是否已发布")
    private Byte isExamPublish;

    /**
     * 
     * @return id 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 所属课程ID
     * @return course_id 所属课程ID
     */
    public Integer getCourseId() {
        return courseId;
    }

    /**
     * 所属课程ID
     * @param courseId 所属课程ID
     */
    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    /**
     * 课时名称
     * @return name 课时名称
     */
    public String getName() {
        return name;
    }

    /**
     * 课时名称
     * @param name 课时名称
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 时长
     * @return duration 时长
     */
    public Integer getDuration() {
        return duration;
    }

    /**
     * 时长
     * @param duration 时长
     */
    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getPublishState() {
        return publishState;
    }

    public void setPublishState(Integer publishState) {
        this.publishState = publishState;
    }

    /**
     * 上课状态:1是或0否
     * @return is_attend_class 上课状态:1是或0否
     */
    public Byte getIsAttendClass() {
        return isAttendClass;
    }

    /**
     * 上课状态:1是或0否
     * @param isAttendClass 上课状态:1是或0否
     */
    public void setIsAttendClass(Byte isAttendClass) {
        this.isAttendClass = isAttendClass;
    }

    /**
     * 上课时间
     * @return attend_class_time 上课时间
     */
    public Date getAttendClassTime() {
        return attendClassTime;
    }

    /**
     * 上课时间
     * @param attendClassTime 上课时间
     */
    public void setAttendClassTime(Date attendClassTime) {
        this.attendClassTime = attendClassTime;
    }

    /**
     * 授课状态:1是或0否
     * @return is_teaching 授课状态:1是或0否
     */
    public Byte getIsTeaching() {
        return isTeaching;
    }

    /**
     * 授课状态:1是或0否
     * @param isTeaching 授课状态:1是或0否
     */
    public void setIsTeaching(Byte isTeaching) {
        this.isTeaching = isTeaching;
    }

    /**
     * 授课时间
     * @return teaching_time 授课时间
     */
    public Date getTeachingTime() {
        return teachingTime;
    }

    /**
     * 授课时间
     * @param teachingTime 授课时间
     */
    public void setTeachingTime(Date teachingTime) {
        this.teachingTime = teachingTime;
    }

    /**
     * 课时简介
     * @return introduction 课时简介
     */
    public String getIntroduction() {
        return introduction;
    }

    /**
     * 课时简介
     * @param introduction 课时简介
     */
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    /**
     * 课程教材ID
     * @return teaching_material_id 课程教材ID
     */
    public Integer getTeachingMaterialId() {
        return teachingMaterialId;
    }

    /**
     * 课程教材ID
     * @param teachingMaterialId 课程教材ID
     */
    public void setTeachingMaterialId(Integer teachingMaterialId) {
        this.teachingMaterialId = teachingMaterialId;
    }

    /**
     * 课件列表IDS
     * @return courseware_ids 课件列表IDS
     */
    public String getCoursewareIds() {
        return coursewareIds;
    }

    /**
     * 课件列表IDS
     * @param coursewareIds 课件列表IDS
     */
    public void setCoursewareIds(String coursewareIds) {
        this.coursewareIds = coursewareIds;
    }

    /**
     * 教具列表IDS
     * @return teaching_aid_ids 教具列表IDS
     */
    public String getTeachingAidIds() {
        return teachingAidIds;
    }

    /**
     * 教具列表IDS
     * @param teachingAidIds 教具列表IDS
     */
    public void setTeachingAidIds(String teachingAidIds) {
        this.teachingAidIds = teachingAidIds;
    }

    /**
     * 作业ID
     * @return work_id 作业ID
     */
    public Integer getWorkId() {
        return workId;
    }

    /**
     * 作业ID
     * @param workId 作业ID
     */
    public void setWorkId(Integer workId) {
        this.workId = workId;
    }

    /**
     * 作业是否已发布
     * @return is_work_publish 作业是否已发布
     */
    public Byte getIsWorkPublish() {
        return isWorkPublish;
    }

    /**
     * 作业是否已发布
     * @param isWorkPublish 作业是否已发布
     */
    public void setIsWorkPublish(Byte isWorkPublish) {
        this.isWorkPublish = isWorkPublish;
    }

    /**
     * 试卷ID
     * @return exam_id 试卷ID
     */
    public Integer getExamId() {
        return examId;
    }

    /**
     * 试卷ID
     * @param examId 试卷ID
     */
    public void setExamId(Integer examId) {
        this.examId = examId;
    }

    /**
     * 试卷是否已发布
     * @return is_exam_publish 试卷是否已发布
     */
    public Byte getIsExamPublish() {
        return isExamPublish;
    }

    /**
     * 试卷是否已发布
     * @param isExamPublish 试卷是否已发布
     */
    public void setIsExamPublish(Byte isExamPublish) {
        this.isExamPublish = isExamPublish;
    }

    public String getRate() {
        return rate;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }
}